﻿using UnityEngine;
using System.Collections;

public class CheckEnemyIsShow : MonoBehaviour
{

    // Use this for initialization
    void Start()
    {
        CheckData_IF_Need_Destory();
    }

    void CheckData_IF_Need_Destory()
    {
            bool result = GameDataManager.Instance.GetTalkValueByKey("拉多村南地洞与红狼对话");
        if (result == true)
            Destroy(this.gameObject);
    }

    // Update is called once per frame
    void Update()
    {
        //CheckData_IF_Need_Destory();
    }
}
